package net.minecraft.src;

import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import net.minecraft.src.NBTBase;

public class NBTTagFloat extends NBTBase {

    public float floatValue;


    public NBTTagFloat() {
        super();
    }

    public NBTTagFloat(float var1) {
        super();
        this.floatValue = var1;
    }

    void writeTagContents(DataOutput var1) throws IOException {
        var1.writeFloat(this.floatValue);
    }

    void readTagContents(DataInput var1) throws IOException {
        this.floatValue = var1.readFloat();
    }

    public byte getType() {
        return (byte)5;
    }

    public String toString() {
        return "" + this.floatValue;
    }
}
